package com.qf.java2201.pojo;

import java.sql.Timestamp;


public class HComment implements java.io.Serializable {

	// Fields

	private Integer pid;  // 主键
	private Integer oid;  // 哪个预约单的评论
	private Timestamp ptime; //  评论时间
	private String ptext;  // 评论内容
	private String pname; // 评论人名字
	private Integer pnm; // 是否匿名

	// Constructors

	/** default constructor */
	public HComment() {
	}

	/** minimal constructor */
	public HComment(Integer pid) {
		this.pid = pid;
	}

	/** full constructor */
	public HComment(Integer pid, Integer oid, Timestamp ptime,
			String ptext, String pname, Integer pnm) {
		this.pid = pid;
		this.oid = oid;
		this.ptime = ptime;
		this.ptext = ptext;
		this.pname = pname;
		this.pnm = pnm;
	}

	// Property accessors

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getOid() {
		return this.oid;
	}

	public void setOid(Integer oid) {
		this.oid = oid;
	}

	public Timestamp getPtime() {
		return this.ptime;
	}

	public void setPtime(Timestamp ptime) {
		this.ptime = ptime;
	}

	public String getPtext() {
		return this.ptext;
	}

	public void setPtext(String ptext) {
		this.ptext = ptext;
	}

	public String getPname() {
		return this.pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public Integer getPnm() {
		return this.pnm;
	}

	public void setPnm(Integer pnm) {
		this.pnm = pnm;
	}

}